package com.iot08.common.entity.app;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;
import java.util.Date;

@Data
@Document("device_video")
public class DeviceVideo implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    private String id;

    private String openid;

//    private String uuid;

    private Integer status;

    @Field("request_type")
    private String requestType;

    @Field("start_time")
    private Double startTime;

    @Field("end_time")
    private Double endTime;

    @Field("wait_duration")
    private Integer waitDuration;

    @Field("origin_time")
    private Integer originTime;

    @Field("last_time")
    private Integer lastTime;

    @Field("video_id")
    private String videoId;

    private String imei;

    // 通话类型 0:视频 1:语音
    private Integer callType;

    private Integer duration;

    private String type;

    private String platform;

    // SW:声网 JF:菊风 VM:视通
    private String devVideoType;

    private String endOfType;

    private Date expiryAt;

    //是否是 设备拨打设备
    private Integer isDevToDev;

}
